﻿using RpcClient.Interface;

namespace RpcSync.DAL
{
    internal class RpcExtendDAL : IRpcModular
    {
        public void Init(IUnityCollect unity)
        {
            unity.RegisterType(typeof(IRpcExtendResource<>), typeof(Repository.RpcExtendResource<>));
            SqlSugarHelper.SqlSugarService.Init(new SqlSugarUnity(unity));
        }
    }
}
